package com.lingxu.module.process.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import java.math.BigInteger;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 模型审批默认节点信息
 * </p>
 *
 * @author admin
 * @since 2025-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_MODEL_PROCESS")
@ApiModel(value="TModelProcess对象", description="模型审批默认节点信息")
public class TModelProcess implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private BigInteger id;

    @ApiModelProperty(value = "模型id")
    @TableField("MODEL_ID")
    private String modelId;

    @TableField("MODEL_NAME")
    private String modelName;

    @ApiModelProperty(value = "节点名称审批名称")
    @TableField("PROCESS_NAME")
    private String processName;

    @ApiModelProperty(value = "节点审批部门id")
    @TableField("PROCESS_DEPT_ID")
    private String processDeptId;

    @ApiModelProperty(value = "上层节点")
    @TableField("PID")
    private BigInteger pid;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATOR")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除 0正常")
    @TableField("DELETED")
    private Boolean deleted;


}
